#!/bin/bash
test2A(){
	res=$(awk '$0 ~ /ok/ {print $0}' a.txt)
	echo $res
	if [ -n "${res}" ]
	then 
		echo "Lab2A Passed"
		return 1
	else 
		echo "Lab2A Failed"
		return 0
	fi
}
test2A
echo $?
